package com.yiren.backstage.judge.services.light;

import android.content.Context;

import com.yiren.backstage.currency.entity.SingleLightEntity;
import com.yiren.backstage.currency.enums.ResultStateEnum;
/**
 * Time:2022/3/23 16:02
 * Author:xiaozan
 * Description:灯光评判线程 服务接口
 */
public interface ILightJudgeThreadService {

    /**
     * 播报灯光内容并且判断是否抢语音操作
     * @param content
     * @return
     */
    ResultStateEnum playLightContent(String content);

    /**
     * 返回等待结果
     * @param singleLightEntity
     * @param mStartTime 评判开始时间
     * @return
     */
    ResultStateEnum waitOperationResult(SingleLightEntity singleLightEntity, long mStartTime);

    /**
     * 返回维持结果
     * @param singleLightEntity
     * @param accordCarStateStartTime 符合状态时间
     * @return
     */
    ResultStateEnum keepOperationResult(SingleLightEntity singleLightEntity, long accordCarStateStartTime);

    /**
     * 判断抢语音操作
     * @return
     */
    boolean robVoiceOperation();

}
